package ch.bfh.abcmmh.exceptions;

import ch.bfh.abcmmh.model.cars.Vehicle;

public class WrongSpeedException extends Exception{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public WrongSpeedException(Vehicle vehicle){
		super("actualspeed of Vehicle "+vehicle.getCarName()+" is not multipla of 10");
	}

}
